﻿@inherits MenuContent<IViewModel>

@{ var index = 0; }

<aside class="@SelectedTab(index)" id="asideActionsScroll">
    <h3>@AddControls(new Literal("Actions", true))</h3>
    @RenderControl("Layouts/Blocks/ActionsBlock.cshtml")
</aside>@{index++;}

<aside class="@SelectedTab(index)" id="asideMenuTVScroll">
    <h3>@AddControls(new Literal("MainMenu", true))</h3>
    <div class="treeView " >
        @if (SelectedTab(index).IsNotEmpty())
        {
            <input type="hidden" class="asyncContentToLoad" value="@(Url.Action("MenuTreeView", Str.Controllers.Layout))" />
        }
        else
        {
            @RenderAction("MenuTreeView", Str.Controllers.Layout)
        }
    </div>
</aside>@{index++;}

<aside class="@SelectedTab(index)" id="asideStoryTVScroll">
    <h3>@AddControls(new Literal("Help", true))</h3>
    <div class="treeView storyTree" >
        @if (SelectedTab(index).IsNotEmpty())
        {
            <input type="hidden" class="asyncContentToLoad" value="@(Url.Action("MainTreeView", Str.Controllers.Layout))" />
        }
        else
        {
            @RenderAction("MainTreeView", Str.Controllers.Layout)
        }
    </div>
</aside>@{index++;}